import request from '@/utils/request'

// 查询题库解析记录列表
export function listQbmsRecordResolve(query) {
  return request({
    url: '/qbms/qbmsRecordResolve/list',
    method: 'get',
    params: query
  })
}

// 查询题库解析记录详细
export function getQbmsRecordResolve(id) {
  return request({
    url: '/qbms/qbmsRecordResolve/' + id,
    method: 'get'
  })
}

// 新增题库解析记录
export function addQbmsRecordResolve(data) {
  return request({
    url: '/qbms/qbmsRecordResolve',
    method: 'post',
    data: data
  })
}

// 修改题库解析记录
export function updateQbmsRecordResolve(data) {
  return request({
    url: '/qbms/qbmsRecordResolve',
    method: 'put',
    data: data
  })
}

// 删除题库解析记录
export function delQbmsRecordResolve(id) {
  return request({
    url: '/qbms/qbmsRecordResolve/' + id,
    method: 'delete'
  })
}
